﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CC9 RID: 3273
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OPFMJDAHFNH : IMessage<OPFMJDAHFNH>, IMessage, IEquatable<OPFMJDAHFNH>, IDeepCloneable<OPFMJDAHFNH>, IBufferMessage
	{
		// Token: 0x17002929 RID: 10537
		// (get) Token: 0x0600922C RID: 37420 RVA: 0x00183F57 File Offset: 0x00182157
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OPFMJDAHFNH> Parser
		{
			get
			{
				return OPFMJDAHFNH._parser;
			}
		}

		// Token: 0x1700292A RID: 10538
		// (get) Token: 0x0600922D RID: 37421 RVA: 0x00183F5E File Offset: 0x0018215E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OPFMJDAHFNHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700292B RID: 10539
		// (get) Token: 0x0600922E RID: 37422 RVA: 0x00183F70 File Offset: 0x00182170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OPFMJDAHFNH.Descriptor;
			}
		}

		// Token: 0x0600922F RID: 37423 RVA: 0x00183F77 File Offset: 0x00182177
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OPFMJDAHFNH()
		{
		}

		// Token: 0x06009230 RID: 37424 RVA: 0x00183F8C File Offset: 0x0018218C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OPFMJDAHFNH(OPFMJDAHFNH other) : this()
		{
			this.fBHHGDOCAPD_ = other.fBHHGDOCAPD_;
			this.monsterId_ = other.monsterId_;
			this.oAAAMHDFDAH_ = other.oAAAMHDFDAH_.Clone();
			this.kDMLAJFLPFA_ = other.kDMLAJFLPFA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009231 RID: 37425 RVA: 0x00183FE5 File Offset: 0x001821E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OPFMJDAHFNH Clone()
		{
			return new OPFMJDAHFNH(this);
		}

		// Token: 0x1700292C RID: 10540
		// (get) Token: 0x06009232 RID: 37426 RVA: 0x00183FED File Offset: 0x001821ED
		// (set) Token: 0x06009233 RID: 37427 RVA: 0x00183FF5 File Offset: 0x001821F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FBHHGDOCAPD
		{
			get
			{
				return this.fBHHGDOCAPD_;
			}
			set
			{
				this.fBHHGDOCAPD_ = value;
			}
		}

		// Token: 0x1700292D RID: 10541
		// (get) Token: 0x06009234 RID: 37428 RVA: 0x00183FFE File Offset: 0x001821FE
		// (set) Token: 0x06009235 RID: 37429 RVA: 0x00184006 File Offset: 0x00182206
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x1700292E RID: 10542
		// (get) Token: 0x06009236 RID: 37430 RVA: 0x0018400F File Offset: 0x0018220F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<KMDBLNMBLBC> OAAAMHDFDAH
		{
			get
			{
				return this.oAAAMHDFDAH_;
			}
		}

		// Token: 0x1700292F RID: 10543
		// (get) Token: 0x06009237 RID: 37431 RVA: 0x00184017 File Offset: 0x00182217
		// (set) Token: 0x06009238 RID: 37432 RVA: 0x0018401F File Offset: 0x0018221F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KDMLAJFLPFA
		{
			get
			{
				return this.kDMLAJFLPFA_;
			}
			set
			{
				this.kDMLAJFLPFA_ = value;
			}
		}

		// Token: 0x06009239 RID: 37433 RVA: 0x00184028 File Offset: 0x00182228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OPFMJDAHFNH);
		}

		// Token: 0x0600923A RID: 37434 RVA: 0x00184038 File Offset: 0x00182238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OPFMJDAHFNH other)
		{
			return other != null && (other == this || (this.FBHHGDOCAPD == other.FBHHGDOCAPD && this.MonsterId == other.MonsterId && this.oAAAMHDFDAH_.Equals(other.oAAAMHDFDAH_) && this.KDMLAJFLPFA == other.KDMLAJFLPFA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600923B RID: 37435 RVA: 0x001840A8 File Offset: 0x001822A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FBHHGDOCAPD != 0U)
			{
				num ^= this.FBHHGDOCAPD.GetHashCode();
			}
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			num ^= this.oAAAMHDFDAH_.GetHashCode();
			if (this.KDMLAJFLPFA != 0U)
			{
				num ^= this.KDMLAJFLPFA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600923C RID: 37436 RVA: 0x00184127 File Offset: 0x00182327
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600923D RID: 37437 RVA: 0x0018412F File Offset: 0x0018232F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600923E RID: 37438 RVA: 0x00184138 File Offset: 0x00182338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FBHHGDOCAPD != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.FBHHGDOCAPD);
			}
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.MonsterId);
			}
			this.oAAAMHDFDAH_.WriteTo(ref output, OPFMJDAHFNH._repeated_oAAAMHDFDAH_codec);
			if (this.KDMLAJFLPFA != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.KDMLAJFLPFA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600923F RID: 37439 RVA: 0x001841C0 File Offset: 0x001823C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FBHHGDOCAPD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FBHHGDOCAPD);
			}
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			num += this.oAAAMHDFDAH_.CalculateSize(OPFMJDAHFNH._repeated_oAAAMHDFDAH_codec);
			if (this.KDMLAJFLPFA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KDMLAJFLPFA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009240 RID: 37440 RVA: 0x00184244 File Offset: 0x00182444
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OPFMJDAHFNH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FBHHGDOCAPD != 0U)
			{
				this.FBHHGDOCAPD = other.FBHHGDOCAPD;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			this.oAAAMHDFDAH_.Add(other.oAAAMHDFDAH_);
			if (other.KDMLAJFLPFA != 0U)
			{
				this.KDMLAJFLPFA = other.KDMLAJFLPFA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009241 RID: 37441 RVA: 0x001842B9 File Offset: 0x001824B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009242 RID: 37442 RVA: 0x001842C4 File Offset: 0x001824C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 16U)
				{
					if (num == 8U)
					{
						this.FBHHGDOCAPD = input.ReadUInt32();
						continue;
					}
					if (num == 16U)
					{
						this.MonsterId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 26U)
					{
						this.oAAAMHDFDAH_.AddEntriesFrom(ref input, OPFMJDAHFNH._repeated_oAAAMHDFDAH_codec);
						continue;
					}
					if (num == 32U)
					{
						this.KDMLAJFLPFA = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040037B3 RID: 14259
		private static readonly MessageParser<OPFMJDAHFNH> _parser = new MessageParser<OPFMJDAHFNH>(() => new OPFMJDAHFNH());

		// Token: 0x040037B4 RID: 14260
		private UnknownFieldSet _unknownFields;

		// Token: 0x040037B5 RID: 14261
		public const int FBHHGDOCAPDFieldNumber = 1;

		// Token: 0x040037B6 RID: 14262
		private uint fBHHGDOCAPD_;

		// Token: 0x040037B7 RID: 14263
		public const int MonsterIdFieldNumber = 2;

		// Token: 0x040037B8 RID: 14264
		private uint monsterId_;

		// Token: 0x040037B9 RID: 14265
		public const int OAAAMHDFDAHFieldNumber = 3;

		// Token: 0x040037BA RID: 14266
		private static readonly FieldCodec<KMDBLNMBLBC> _repeated_oAAAMHDFDAH_codec = FieldCodec.ForMessage<KMDBLNMBLBC>(26U, KMDBLNMBLBC.Parser);

		// Token: 0x040037BB RID: 14267
		private readonly RepeatedField<KMDBLNMBLBC> oAAAMHDFDAH_ = new RepeatedField<KMDBLNMBLBC>();

		// Token: 0x040037BC RID: 14268
		public const int KDMLAJFLPFAFieldNumber = 4;

		// Token: 0x040037BD RID: 14269
		private uint kDMLAJFLPFA_;
	}
}
